<html>
<head>
<meta charset="utf-8" name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
<!-- <script src = "C:/Users/zhangra/AppData/Roaming/npm/node_modules/dplayer/dist/DPlayer.min.js"></script> -->
<!-- <script src = "C:\Users\zhangra\AppData\Roaming\npm\node_modules\dplayer\dist\DPlayer.min.js"></script> -->
<!-- <script type="module">import DPlayer from 'C:\Users\zhangra\AppData\Roaming\npm\node_modules\dplayer';</script> -->
<!-- <script src="https://cdn.jsdelivr.net/npm/cdnbye@latest"></script> -->
<script src = ".\dash\dist\dash.all.min.js"></script>
<script src = ".\hls\dist\hls.min.js"></script>
<script src = ".\node_modules\dplayer\dist\DPlayer.min.js"></script>
<title>PlayVideo</title>
</head>
<body>
<div id="dplayer" style="width:500px;height:250px;align-items:center;"></div>
<!-- <script src="D:\codes\web\videoPlay\node_modules\dplayer\dist"> -->
<script>
//import DPlayer from 'C:\Users\zhangra\AppData\Roaming\npm\node_modules\dplayer';
//import DPlayer from './node_modules/dplayer/dist/DPlayer';
var type = 'normal';
//if(Hls.isSupported() && Hls.WEBRTC_SUPPORT) {
    //type = 'customHls';
//}
const dp = new DPlayer({
    container: document.getElementById('dplayer'),
    screenshot: true,
    video: {
		//url:'/upper/1-1.mp4',
		url:'/upper/政治/01.导论与毛泽东思想的形成与发展01【公众号：猴子不吃柠檬】免费分享.mp4',
		//url:'file://172.21.86.165/share/1.mp4',
		//url:'file://localhost/share/1.mp4',
		//url:'D:/share/1.mp4'
		//url:'D:\share\1.mp4'
		//url:'D://share//政治//1.mp4'
        //url: '../testVideo.mp4',
        //pic: 'demo.jpg',
        //thumbnails: 'thumbnails.jpg',
        type: 'normal'
    },
	autoplay: true,
    <!-- subtitle: { -->
        <!-- url: 'webvtt.vtt', -->
    <!-- }, -->
    <!-- danmaku: { -->
        <!-- id: 'demo', -->
        <!-- api: 'https://api.prprpr.me/dplayer/', -->
    <!-- }, -->
});
</script>
</body>
</html>